<?php echo $this->Session->flash(); ?>
<?php $bloqueo = $this->Session->read('bloqueo_avaluo'); ?>
<h1>MODIFICAR TITULACIÓN E INFORMACIÓN JURÍDICA<?php ?></h1>

<div id="loading" style="display: none;">
    <?php echo $html->image('loading.gif', array('border' => "0", 'align' => 'center')); ?>
</div>

<fieldset>
    <?php echo $form->create('PropertyAppraisal'); ?>
    <table cellpadding ="7" aling = "left">
        <tr>
            <td><?php echo $form->input('PropertyAppraisal.matricula', array('label' => "Matrícula")); ?></td>
            <td><?php echo $form->input('PropertyAppraisal.propietarios', array('label' => "Propietario(s)")); ?></td>
        </tr>
        <tr>
            <td><?php echo $form->input('PropertyAppraisal.servidumbre', array('label' => "¿Tiene servidumbre?")); ?></td>
            <td></td>

        </tr>
        <tr>
            <td colspan="2"> <?php echo $form->input('PropertyAppraisal.titulo', array('label' => "Titulo de adquisición", 'class' => 'txtarea')); ?></td>
        </tr>
    </table>
    <?php
    if ($bloqueo == "No")
        echo $ajax->submit('Guardar', array('url' => array('controller' => 'PropertyAppraisals', $this->data['PropertyAppraisal']['id'], 'action' => 'add_legal_information'), 'update' => 'legal_information', 'indicator' => 'loading'));
    //echo $form->end("Guardar", array('url' => array('controller' => 'PropertyAppraisals', 'action' => 'add_legal_information'))); 
    ?>
     <?php echo $ajax->link($html->image("regresar.gif", array('width' => '30', 'heigth' => '30', 'alt' => 'regresar', 'align' => 'center')), array('controller' => 'PropertyAppraisals', "action" => "legal_information",$this->data['PropertyAppraisal']['appraisal_id']), array('escape' => false, 'update' => 'legal_information', 'complete' => '', 'indicator' => 'loading')); ?>

</fieldset>

